package com.flaskpy.web.eternity.log.aspect;

import com.flaskpy.web.eternity.log.service.IAopLogService;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface AopLog {
    /**
     * 标题
     * @return
     */
    String title() default "";

    /**
     * 分组
     * @return
     */
    String group() default "";
    /**
     * 日志处理类，多个bean时必定指定
     * @return
     */
    Class<? extends IAopLogService> serverType() default IAopLogService.class;
}
